class Api {
  static const String BaseUrl = 'http://app.xmr001.com';
  static const String ImgBaseUrl =BaseUrl + "/public/upload/";
  static String WXARTICLE = BaseUrl + '/wxarticle/chapters/json';
  static const String JIAYOUURL="http://tp.jdlgg.com/";
  static String SEND_PHONE_CODE = BaseUrl + "/index.php/wap/Sms/send";
  //获取系统通知
  static const String GET_SYSTEM_ARTICLE =
      BaseUrl + "/index.php/wap/Article/getList";
  static const String GET_PHONE_CODE = BaseUrl + "/app.php?c=Sms&a=send";
  //获取文章详情
  static const String GET_ARTICLE_DETAIL =
      BaseUrl + "/index.php/wap/Article/getMsg";
  //判断是否绑定
  static const CHECK_LOGIN_BIND =
      BaseUrl + "/app.php?c=UserAccount&a=checkRegisterOauth";
  //绑定登录
  static const BIND_LOGIN = BaseUrl + "/app.php?c=UserAccount&a=loginOauth";
//发送注册短信验证码
  static const String SEND_REGISTER_CODE =
      BaseUrl + "/index.php/wap/Sms/sendUserRegister";
  static const String USER_GROUP_RECHARGE =
      BaseUrl + "/index.php/wap/UserGroupRecharge/order";
  static const String USER_GROUP_PRICE =
      BaseUrl + "/index.php/wap/UserGroupRecharge/getPrice";
  //获取抢购商品
  static const String GET_QIANGGOU = BaseUrl + "/index.php/wap/GoodsFs/getList";
  //用户注册
  static const String USER_REGISTER =
      BaseUrl + "/index.php/wap/UserAccount/register";
  static const String SET_WX = BaseUrl + "/app.php?c=User&a=set_wx";
  //用户登录
  static const String USER_LOGIN = BaseUrl + "/index.php/wap/UserAccount/login";
  //获取用户信息
  static const String GET_USERINFO = BaseUrl + "/index.php/wap/User/getMsg";
  static const String CHANGE_AVATAR =
      BaseUrl + "/app.php?c=User&a=editUserAvatar";
  //修改用户基本信息
  static const String EDIT_USERINFO = BaseUrl + "/index.php/wap/User/editMsg";
  //编辑用户头像
  static const String UP_USERHEAD = BaseUrl + "/index.php/wap/User/editAvatar";
  //修改密码
  static const String CHANGE_PWD = BaseUrl + "/index.php/wap/User/changePwd";
  //获取收货地址
  static const String USER_ADDRESSLIST =
      BaseUrl + "/index.php/wap/ConsigneeAddress/getList";
  //判断是否是新号
  static const String IS_NEW_PHONE =
      BaseUrl + "/app.php?c=UserAccount&a=checkPhoneExists";
  //新增收货地址
  static const String ADD_ADDRESS =
      BaseUrl + "/index.php/wap/ConsigneeAddress/add";
  //删除收货地址
  static const String DELETE_ADDRESS =
      BaseUrl + "/index.php/wap/ConsigneeAddress/del";
  //修改地址
  static const String EDIT_ADDRESS =
      BaseUrl + "/index.php/wap/ConsigneeAddress/edit";
  static const String CHECK_WX_IS_BIND =
      BaseUrl + "/index.php/wap/UserAccount/checkRegisterOauth";
  //获取绑定支付宝验证码
  static const String SEND_BIND_ZFB_CODE =
      BaseUrl + "/index.php/wap/Sms/bindAlipayCode";
  //绑定支付宝
  static const String BIND_ZFB =
      BaseUrl + "/index.php/wap/UserBalance/Bindalipay";
  //发送找回密码验证码
  static const String FIND_PWD = BaseUrl + "/index.php/wap/Sms/sendUserFindpwd";
  //找回密码
  static const String SET_PWD =
      BaseUrl + "/index.php/wap/UserAccount/findPwdByPhone";
  //发送原手机号验证码
  static const String SEND_CHANGE_OLD_PHONE_CODE =
      BaseUrl + "/index.php/wap/Sms/sendChangeBandCode";
  //发送更换新手机号验证码
  static const String SEND_CHANGE_PHONE_CODE =
      BaseUrl + "/index.php/wap/Sms/sendChangeBanding";
  static const String BIND_WX =
      BaseUrl + "/index.php/wap/UserAccount/loginOauth";
  //更换手机号
  static const String CHANGE_PHONE =
      BaseUrl + "/index.php/wap/User/changeBandingPhone";
  //加入购物车
  static const String ADD_SHOP_CAR = BaseUrl + "/index.php/wap/Shopcart/add";
  static const String CONFIRM_JIAODAN_ORDER =
      BaseUrl + "/index.php/wap/Order/palceorder";
  static const String TEMP =
      BaseUrl + "/index.php/wap/Order/getOrderExamineList";
  static const String OrderExamine =
      BaseUrl + '/index.php/wap/Order/OrderExamine';
  //解绑微信
  static const String UNBIND_WX =
      BaseUrl + "/index.php/wap/UserAccount/UnbindWX";
  //获取购物车
  static const String GET_SHOP_CAR =
      BaseUrl + "/index.php/wap/Shopcart/getList";
  static const String DEL_SHOP_CAR = BaseUrl + "/index.php/wap/Shopcart/del";
  static const String CHANGE_SHOP_CAR_NUM =
      BaseUrl + "/index.php/wap/Shopcart/changeNum";
  static const String GET_MY_EXAMINEORDERLIST =
      BaseUrl + "/index.php/wap/Order/getMyExamineOrderList";
  //意见反馈
  static const String FEEDBACK = BaseUrl + "/app.php?c=Message&a=online";
  //短信验证码登录
  static const String LOGIN_BY_CODE =
      BaseUrl + "/index.php/wap/UserAccount/loginCode";
  //提交证书申请
  static const String APPLY_SHOUQUAN =
      BaseUrl + "/index.php/wap/User/applycertificate";
  //获取授权证书
  static const String GET_SHOUQUAN =
      BaseUrl + "/index.php/wap/User/getcertificate";
  //版本管理
  static const String VERSION_CHECK = BaseUrl + "/index.php/wap/Index/version";
  //获取商品列表
  static const String GET_GOODS_LIST = BaseUrl + "/index.php/wap/Goods/getList";
  //根据cat列表
  static const String GET_ALL_GOODS_LIST =
      BaseUrl + "/index.php/wap/GoodsCat/getAllList";
  //获取商品详情
  static const String GET_GOODS_DETAIL =
      BaseUrl + "/index.php/wap/Goods/getMsg";
  //抢购商品下单
  static const String QIANGGOU_ORDER = BaseUrl + "/index.php/wap/Order/orderFs";
  //下单
  static const String BUY_GOODS = BaseUrl + "/index.php/wap/Order/order";
  //购物车下单
  static const String BUY_FROM_CAR =
      BaseUrl + "/index.php/wap/Order/orderByShopcart";
  //获取支付表单
  static const String GET_PAY_ORDER_FORM =
      BaseUrl + "/index.php/wap/Order/getPayForm";
      static const String GET_PAY_ORDER_FORM2 =
      "http://1.dmooo.net" + "/index.php/wap/Order/getPayForm";
      
  static const String TEMP_LIST =
      BaseUrl + "/index.php/wap/Order/getlistbyparameter";
  //用户订单
  static const String GET_USER_ORDERLIST =
      BaseUrl + "/index.php/wap/Order/getOrderList";
  static const String GET_DAITIJIAO =
      BaseUrl + "/index.php/wap/Order/getWillSubmissionList";
  static const String FINISH_SERVICE =
      BaseUrl + "/app.php?c=UserOrder&a=finishService";
  static const String GET_USER_TUIGUANG =
      BaseUrl + "/index.php/wap/User/getpopular";
  //获取全部服务
  static const String GET_ALL_SERVICE_CAT =
      BaseUrl + "/app.php?c=ServiceCat&a=getList";
  //获取一级服务分类
  static const String GET_FIRST_SERVICE_CAT =
      BaseUrl + "/app.php?c=ServiceCat&a=getParentList";
  static const String GET_TEAM = BaseUrl + "/index.php/wap/User/getMyTeam";
  static const String GET_ACHIEVEMENT =
      BaseUrl + "/index.php/wap/User/getachievement";
  static const String GET_BONUSLIST =
      BaseUrl + "/index.php/wap/UserBalance/getbonusList";
  static const String GET_GOODSPROFIT =
      BaseUrl + "/index.php/wap/UserBalance/getGoodsProfit";
  static const String GET_RECHARGE_INFO =
      BaseUrl + "/index.php/wap/UserBalance/getRechargeInfo";
  static const String GETPROMOTIONLIST =
      BaseUrl + "/index.php/wap/UserUpgradeApply/user_apply";
    static const String GETPROMOTIONLIST2 =
      BaseUrl + "/index.php/wap/user_upgrade_apply/user_apply";
  static const String CHECKPROMOTION =
      BaseUrl + "/index.php/wap/user_upgrade_apply/examine";
  //获取首页热销服务列表
  static const String GET_TOP_SERVICE_LIST =
      BaseUrl + "/app.php?c=Service&a=getRecommendList";
  //获取首页热销服务列表
  static const String GET_SERVICE_LIST_BY_ID =
      BaseUrl + "/app.php?c=Service&a=getList";
  //每日之星
  static const String GET_RANK_ERERYDAY =
      BaseUrl + "/index.php/wap/Ranking/getEveryDayStar";
  static const String GET_USER_GROUP_PAY_FORM =
      BaseUrl + "/index.php/wap/UserGroupRecharge/getPayForm";
  //统计
  static const String GET_USER_STATISC =
      BaseUrl + "/index.php/wap/User/getpopular";
  //冻结账号
  static const String FREEZE_ACCOUNT = BaseUrl + "/index.php/wap/User/freeze";
  //获取服务详情
  static const String GET_TOP_SERVICE_INFO =
      BaseUrl + "/app.php?c=Service&a=getServiceInfo";
  //取消订单
  static const String CANCLE_ORDER = BaseUrl + "/index.php/wap/Order/cancel";
  //删除订单
  static const String DEL_ORDER = BaseUrl + "/app.php?c=UserOrder&a=delOrder";
//订单评论
  static const String PUB_ORDER_COMMENT =
      BaseUrl + "/app.php?c=UserOrderComment&a=orderComment";
  static const String PUB_FEED_BACK = BaseUrl + "/index.php/wap/Message/online";
  static const String ApplyPromotion =
      BaseUrl + "/index.php/wap/User/ApplyPromotion";
  //确认收货
  static const String CONFIRM_ORDER =
      BaseUrl + "/index.php/wap/Order/confirmOrder";
  //获取订单信息
  static const String GET_ORDER_DETAIL =
      BaseUrl + "/index.php/wap/Order/getOrderMsg";
  //发送绑定微信验证码
  static const String SEND_BIND_WECHAT_CODE =
      BaseUrl + "/app.php?c=Sms&a=sendWx";
  //绑定微信
  static const String GET_NEXT_GROUP =
      BaseUrl + "/index.php/wap/User/getSuperiorGroup";
  //检验提现密码是否设置
  static const String CHECK_DRAW_PWD =
      BaseUrl + "/app.php?c=UserBalance&a=isSetDrawPwd";
  //设置提现密码
  static const String SET_DRAW_PWD =
      BaseUrl + "/app.php?c=UserBalance&a=setDrawPwd";
  //检验密码是否正确
  static const String CHECK_CORRECT_DRAW_PWD =
      BaseUrl + "/app.php?c=UserBalance&a=checkDrawPwd";
  //发送提现密码设置验证码
  static const String SEND_SET_DRAW_PWD_CODE =
      BaseUrl + "/app.php?c=UserBalance&a=sendDrawPwdCode";
  //购物车删除
  static const String DEL_FROM_CAR = BaseUrl + "/index.php/wap/Shopcart/del";
  //获取上级推荐人信息
  static const String GET_USER_RECOMMEND_INFO =
      BaseUrl + "/app.php?c=User&a=getReferrerMsg";
  //获取团队信息
  static const String GET_TEAMLIST = BaseUrl + "/app.php?c=User&a=getTeamList";
  //用户申请提现
  static const String USER_DRAW = BaseUrl + "/index.php/wap/UserBalance/draw";
  //余额变动记录
  static const String BALANCE_RECORD =
      BaseUrl + "/index.php/wap/UserBalance/getRecord";
  static const String POINT_RECORD =
      BaseUrl + "/index.php/wap/UserPoint/getRecord";
  //获取收益统计
  static const String GET_USER_STATISCTICS =
      BaseUrl + "/app.php?c=UserBalanceRecord&a=statistics";
  //获取团队订单
  static const String GET_TEAM_ORDER_LSIT =
      BaseUrl + "/app.php?c=Order&a=getTeamOrderList";
  static const String SHOUYI_DETAIL =
      BaseUrl + "/app.php?c=Order&a=getAccoDetail";
  static const String GET_SCORE_RECORD =
      BaseUrl + "/index.php/wap/UserPoint/getRecord";
// 导航列表数据
  static const String GETBANNER = BaseUrl + "/index.php/wap/Banner/getList";
  // static const String GETFIRST_CAT="/app.php?c=Service&a=getAllList";
  static const String IDENTITY = BaseUrl + "/index.php/wap/UserAuth/add";
  static const String GET_SUBCATE_LIST =
      BaseUrl + "/index.php/wap/Article/getSubCatList";
  static const String JIAYOULIST = JIAYOUURL + "/app.php?c=Gas&a=getGasList";
  static const String JIAYOU_DETAIL =
      JIAYOUURL + "/app.php?c=Gas&a=getGasDetail";
  static const String SCORE_RECORD =
      BaseUrl + "/index.php/wap/UserPoint/getRecord";
  static const String GETPROFIT = BaseUrl + "/index.php/wap/User/getMyProfit";
  static const String APPLY_DRAWBACK =
      BaseUrl + "/index.php/wap/Order/applyDrawback";
  static const String CONFRIM_receivables =
      BaseUrl + "/index.php/wap/Order/receivables";
  static const String FILL_NUM =
      BaseUrl + "/index.php/wap/Order/fillInRefundExpressNum";
  static const String REFUND_LIST =
      BaseUrl + "/index.php/wap/Order/RefundOrderList";
  static const String GET_LOGINS=BaseUrl+"/index.php/wap/Logistics/getList";
  static const String HUANHUO=BaseUrl+"/index.php/wap/Order/applyback";
}
